home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
util
/
shell
/
ilock.readme
< prev
next >
Wrap
Text File
|
1995-07-02
|
2KB
|
63 lines
Short: Simple password protection
Author: mlelstv@serpens.rhein.de
Uploader: mlelstv@serpens.rhein.de
Type: util/shell
Sometimes it comes handy to prevent others from using your Amiga
while you are away. A program that locks user input until someone
types in a correct password is sufficient for this purpose.
This is what ilock does. It opens a screen and prompts you
for a password and a second time to verify your typing. Ilock
exists when you type in the password a third time.
While ilock is active it has installed a high priority input
handler that prevents other programs from seeing keyboard or
mouse input. It does pass through timer ticks, disk change
and newprefs messages to keep other programs happy.
Any keypress will move the prompt screen into the foreground if it
was obscured by some other screen created by another task (say a
screen blanker).
For those that do not want to type in a new password every time
you can also pass ilock two parameters: a username and an encrypted
password (I didn't want to keep the password visible in scripts).
You can copy the username and encrypted password directly from
your AS225 password database, the same (breakable) ACrypt function
is used for verification.
If you do not have AS225 you can create an encrypted password
with the ACrypt program in this archive. Acrypt accepts a username
parameter and then prompts you twice for a password of up to 8
characters. If both passwords are identical it prints the
encrypted version. If you don't like cut & paste you can store
the output in an environment variable, e.g.:
> setenv MYCPWD `acrypt user mlelstv`
Passwd: ********
Again: ********
> echo $MYCPWD
IErnVKfa_EB
> ilock user mlelstv cryptpwd $MYCPWD
------
1.0 Initial relase
1.1 When using a crypted password the input buffer was not
cleared correctly. If the password was shorter than
eight characters and you entered a longer password you
could never enter the shorter correct password. Fixed.
Michael van Elst
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
1596 1197 25.0% 28-Apr-95 13:31:54 acrypt
4264 2930 31.2% 29-Apr-95 00:00:32 ilock
2008 996 50.3% 29-Apr-95 00:04:34 ilock.readme
-------- ------- ----- --------- --------
7868 5123 34.8% 29-Apr-95 17:08:08 3 files